package name.sakanacatcher.repository;

import name.sakanacatcher.entity.PositionOptionPosition;
import name.sakanacatcher.entity.PositionOptionType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface POTypeRepository extends JpaRepository<PositionOptionType,Integer> {
    PositionOptionType getByName(String name);
    boolean existsByName(String name);
}
